<?php sleep(1) ?>
<h1>A simple non-file form demo</h1>
<p>
    GET method form
</p>
<form action="index.php" method="get">
    <fieldset>
    <input type="hidden" name="page" value="2" />
    <label>Your name: <input type="text" name="name" /></label>
    <input type="submit" value="send" />
    </fieldset>
</form>
<?php
    if (isset($_GET['name'])) {
        ?><p>Your name is <?php echo $_GET['name'] ?></p><?php
    }
?>
<p>
    POST method form
</p>
<form action="index.php" method="post">
    <fieldset>
    <input type="hidden" name="page" value="2">
    <label>Your age: <input type="text" name="age" /></label>
    <input type="submit" value="send" />
    </fieldset>
</form>
<?php
    if (isset($_POST['age'])) {
        ?><p>Your age is <?php echo $_POST['age'] ?></p><?php
    }
?>